package com.cy.mall.model.vo.goods;

import java.math.BigDecimal;
import java.util.List;

import com.cy.mall.comm.annotation.OssUrl;
import com.cy.mall.model.vo.product.ProductRateVO;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 前台-商品详情
 *
 * @author tanyilin
 *
 * @create 2019年1月25日 上午10:57:38
 */
@Data
@OssUrl
@ApiModel("前台-商品详情")
public class GoodsDetailVO {

	@ApiModelProperty(value = "商品ID", example = "0")
	private Long goodsId;
	
	@ApiModelProperty(value = "品牌ID", example = "0")
	private Long brandId;
	
	@ApiModelProperty(value = "对应贷款产品ID", example = "0")
	private Long productId;
	
	@ApiModelProperty(value = "名称")
	private String name;
	
	@ApiModelProperty(value = "原价", example = "0.00")
	private BigDecimal price;
	
	@ApiModelProperty(value = "折扣", example = "0.00")
	private BigDecimal discount;
	
	@ApiModelProperty(value = "品牌名称")
	private String brandName;
	
	@ApiModelProperty(value = "品牌logo地址")
	@OssUrl
	private String brandLogo;
	
	@ApiModelProperty(value = "该品牌在售商品数量", example = "0")
	private Integer brandGoodsCount;
	
	@ApiModelProperty(value = "贷款产品利率数组")
	private List<ProductRateVO> productRateList;
	
	@ApiModelProperty(value = "商品详情顶部banner滚动图")
	private List<GoodsImageListVO> topBannerImageList;
	
	@ApiModelProperty(value = "商品详情底部图")
	private List<GoodsImageListVO> bottomImageList;
	
	
}
